package com.jzlin.funhub.admin.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 发送私信.
 *
 * @author linjz
 * @since 2025/8/27
 */
@Data
@ApiModel
public class SysMessagePostReq {
    @ApiModelProperty("会话id")
    @NotNull(message = "会话id不能为空")
    private Long sessionId;

    @ApiModelProperty("消息内容")
    @NotBlank(message = "消息内容不能为空")
    private String content;
}
